package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:
 * create by sxy 2021/5/10
 */
public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {
    //根据一二三级分类的id  层级查询平套属性级属性值表
    List<BaseAttrInfo> attrInfoList(
            @Param("category1Id") long category1Id,
            @Param("category2Id") long category2Id,
            @Param("category3Id") long category3Id);
}
